/**
 * sea.js config base
 * Created by Administrator on 2014/12/12.
 */

var site = site || {};
site.site_url = window.location.protocol + '//' + window.location.hostname;
site.seajsBase = site.site_url + "/assets/";

var alias = {

	$ : "libs/jquery/jquery.js",
	jquery : "libs/jquery/jquery.js",
	util : "libs/util.js",
	app : "bundles/app.js",
	moment : 'libs/moment/moment.js',//js日期插件
	//bootstrap-3.3.4
	'bootstrap-js' : 'libs/bootstrap3.3.4/js/bootstrap.min.js',
	'bootstrap-css' : 'libs/bootstrap3.3.4/css/bootstrap.min.css',
	//bootstrap日期选择插件
	'bootstrap-datetimepicker' : 'libs/bootstrap-plugin/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min',
	'bootstrap-datetimepicker-css' : 'libs/bootstrap-plugin/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css',
	//bootstrap表单验证
	'bootstrap-validator' : 'libs/bootstrap-plugin/bootstrap-validator/bootstrapValidator.min',
	'bootstrap-validator-css' : 'libs/bootstrap-plugin/bootstrap-validator/bootstrapValidator.min.css',
	//bootstrap提示插件
	'bootstrap-notify' : 'libs/bootstrap-plugin/bootstrap-notify/bootstrap-notify.min',
	'animate-css' : 'libs/bootstrap-plugin/bootstrap-notify/animate.css',

	//jQuery-extend
	'imgareaselect' : 'libs/jquery-plugin/imgareaselect/jquery.imgareaselect.pack.js',
	'imgareaselect-css' : 'libs/jquery-plugin/imgareaselect/imgareaselect-default.css',
	'form-ajax' : 'libs/jquery-plugin/jquery-form/jquery-form',
	'jq-validate' : 'libs/jquery-plugin/jquery-validate/jquery.validate.min',

	//uEditor
	'ue-1.3.6' : 'libs/ueditor/1.3.6/ueditor.all.min',
	'ue-1.3.6-config' : 'libs/ueditor/1.3.6/ueditor.config.js',
	'ue-1.4.3' : 'libs/ueditor/1.4.3/ueditor.all.min',
	'ue-1.4.3-config' : 'libs/ueditor/1.4.3/ueditor.config.js'

};

for (var i in alias) {
	alias[i] = site.seajsBase + alias[i]
}

seajs.config(
	{
		//别名配置
		alias : alias
	}
);
